package com.easy.project.domain.po.system;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.easy.project.base.domain.po.BasePO;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 系统菜单表
 * </p>
 *
 * @author wxz
 * @since 2024-01-10
 */
@Getter
@Setter
@TableName("sys_menu")
@ApiModel(value = "SysMenuPO对象", description = "系统菜单表")
public class SysMenuPO extends BasePO {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private Long id;

    @ApiModelProperty("菜单名")
    @TableField("menu_name")
    private String menuName;

    @ApiModelProperty("菜单编码")
    @TableField("menu_code")
    private String menuCode;

    @ApiModelProperty("菜单路由(外联以http开头)")
    @TableField("menu_router")
    private String menuRouter;

    @ApiModelProperty("菜单icon")
    @TableField("menu_icon")
    private String menuIcon;

    @ApiModelProperty("0 当前页打开 1 新标签页打开")
    @TableField("new_tab")
    private Integer newTab;

    @ApiModelProperty("菜单类型 0 菜单 1 按钮 2 接口")
    @TableField("menu_type")
    private Integer menuType;

    @ApiModelProperty("菜单是否在侧边栏展示 0 不展示 1 展示")
    @TableField("menu_show")
    private Integer menuShow;

    @ApiModelProperty("所属的父id")
    @TableField("parent_id")
    private Long parentId;
}
